#!/usr/bin/env python3
"""
无人机路径规划API服务启动脚本
"""

import uvicorn
from api import app

if __name__ == "__main__":
    print("🚁 启动无人机路径规划API服务...")
    print("📖 API文档: http://localhost:8000/docs")
    print("🔍 ReDoc文档: http://localhost:8000/redoc")
    print("❤️ 健康检查: http://localhost:8000/health")
    print("🌐 服务地址: http://localhost:8000")
    
    uvicorn.run(
        "api:app",
        host="0.0.0.0",
        port=8000,
        reload=True,
        log_level="info"
    )
